<?php 
session_start();
if(isset($_SESSION['admin']) && $_SESSION['admin'] == true){


} else {

$_SESSION['admin'] = false;

echo "<script>window.location='login.php';</script>";
}
$url = $_SERVER['PHP_SELF'];  
$filename=explode('/',$url);
$filename = end($filename); 
include('../version.php');
include('db.php');
$cj=0;
$shake=0;
$vote=0;
if(file_exists("cj.php"))
 {
	$cj=1;
 }
if(file_exists("shake.php"))
 {
	$shake=1;
 }
if(file_exists("vote.php"))
 {
	$vote=1;
 }


?> 